﻿using System.ComponentModel.DataAnnotations;

namespace WMS.Domain
{
    /// <summary>
    /// 仓库信息表
    /// </summary>
    public class WarehouseInfo: Audit
    {
        [Key]
        ///仓库ID
        public int WarehouseID { get; set; }
        /// <summary>
        /// 仓库主管ID
        /// </summary>
        public int SupervisorId { get; set;}
        /// <summary>
        /// 库管部门ID
        /// </summary>
        public int WarehouseDeptId { get; set; }
        /// <summary>
        /// 仓库编码
        /// </summary>
        public long WarehouseCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 仓库容量
        /// </summary>
        public string Warehousecapacity { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>  
        public string WarehousePhone { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string WarehouseAddress { get; set; }
        /// <summary>
        /// 仓库状态
        /// 1.启用
        /// 2.停用
        /// 3.已锁定
        /// </summary>
        public int WarehouseState { get; set; }
        /// <summary>
        /// 仓库锁定
        /// 1.true 锁定 
        /// 2.false 解锁
        /// </summary>
        public bool WarehouseLockdown { get; set; }
        ///<summary>
        /// 仓库描述
        /// </summary>
        public string WarehouseContent  { get; set; }

    }
}
